home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 1.5 KB | 42 lines | [TEXT/MPS ] |
- Macintosh
- Sample Code Notes
- _____________________________________________________________________________
- Developer Technical Support
-
- #16: OffSample
-
- Written by: Mark Bennett
-
- Versions: 1.00 April 1989
- 1.01 June 1992
-
- Components: OffSample.p April 1, 1989
- OffSample.r April 1, 1989
- OffSample.h April 1, 1989
- OffSample.rsrc April 1, 1989
- POffSample.make April 1, 1989
-
- Required: Offscreen.p April 1, 1989
- Offscreen.incl.p April 1, 1989
- UFailure.p November 1, 1988
- UFailure.incl.p November 1, 1988
- UFailure.a November 1, 1988
- _____________________________________________________________________________
-
- OffSample demonstrates the usage of the Offscreen unit. It shows
- how to use off-screen bitmaps and pixel maps to produce flicker-
- free updating with a minimum of code restructuring. OffSample
- attempts to reduce the amount of “knowledge” it has of the off-
- screen structure so as to minimize its dependence upon that unit.
-
- OffSample emphasizes using the Offscreen unit; it is not intended
- to be viewed as a complete application on which to base some
- larger effort. Instead, its method of using off-screen bitmaps
- and pixel maps should be studied and adapted to other applications
- that desire features like flicker-free updating.
-
- Changes with version 1.01
- _________________________
-
- Updated to work with MPW 3.2 header files by changing "chunky" to "chunkyPix"
- and removing extra type declarations.